package com.x.provider.api.customer.enums;

import com.x.core.enums.IntegerEnum;

public enum AttributeControlTypeEnum implements IntegerEnum {
    /// <summary>
    /// Dropdown list
    /// </summary>
    DROPDOWN_LIST(1),

    /// <summary>
    /// Radio list
    /// </summary>
    RADIO_LIST(2),

    /// <summary>
    /// Checkboxes
    /// </summary>
    CHECK_BOX(3),

    /// <summary>
    /// TextBox
    /// </summary>
    TEXT_BOX(4),

    /// <summary>
    /// Multiline textbox
    /// </summary>
    TEXT_AREA(10),

    /// <summary>
    /// Datepicker
    /// </summary>
    DATE_PICKER(20),

    /// <summary>
    /// File upload control
    /// </summary>
    FILE_UPLOAD(30),
    ;

    private final Integer value;

    AttributeControlTypeEnum(Integer value){
        this.value = value;
    }

    @Override
    public Integer getValue() {
        return value;
    }
}
